package com.inspur.cloud.dao.ambari;

import com.inspur.cloud.entity.ambari.ComponentDesiredStateEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ComponentDesiredStateDao extends JpaRepository<ComponentDesiredStateEntity, Integer>, JpaSpecificationExecutor<ComponentDesiredStateEntity> {
    List<ComponentDesiredStateEntity> findByComponentName(String componentName);
}
